package com.slz3.business.module.configManagement.conSiteCity.service;

import com.slz3.business.module.configManagement.conSiteCity.domain.ConSiteCity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface ConSiteCityService {

    ConSiteCity save(ConSiteCity conSiteCity);

    Page<ConSiteCity> page(MultiValueMap<String,String> queryParams);

    ConSiteCity modify(ConSiteCity conSiteCity);

    Optional<ConSiteCity> single(UUID uuid);

    List<ConSiteCity> findAllByUuids(Iterable<UUID> uuids);

    List<ConSiteCity> delete(List<ConSiteCity> conSiteCityList);
}
